import { post } from '../http'

/**
 * @description: 获取列表数据
 * @param data
 * @return Promise
 */
export const getSystemList = (data) => post({ url: '/dict/getListALL', data })

/**
 * @description: 详情
 * @param data
 * @return Promise
 */
export const systemDetail = (data) => post({ url: '/dict/editInfo', data })

/**
 * @description: 编辑
 * @param data
 * @return Promise
 */
export const systemEdit = (data) => post({ url: '/dict/edit', data })

/**
 * @description: 根据dictCode获取详情
 * @param data
 * @return Promise
 */
export const systemCodeDetail = (data) => post({ url: '/dict/infoByCode', data })
